package com.task.src.dto;

public class MyPublish {
    private int pub_id;
    private int task_id;
    private int user_id;
    private Task myPublishTask;

    public MyPublish() {
    }

    public MyPublish(int pub_id, int task_id, int user_id, Task myPublishTask) {
        this.pub_id = pub_id;
        this.task_id = task_id;
        this.user_id = user_id;
        this.myPublishTask = myPublishTask;
    }

    public int getPub_id() {
        return pub_id;
    }

    public void setPub_id(int pub_id) {
        this.pub_id = pub_id;
    }

    public int getTask_id() {
        return task_id;
    }

    public void setTask_id(int task_id) {
        this.task_id = task_id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public Task getMyPublishTask() {
        return myPublishTask;
    }

    public void setMyPublishTask(Task myPublishTask) {
        this.myPublishTask = myPublishTask;
    }

    @Override
    public String toString() {
        return "MyPublish{" +
                "pub_id=" + pub_id +
                ", task_id=" + task_id +
                ", user_id=" + user_id +
                ", myPublishTask=" + myPublishTask +
                '}';
    }
}
